package cn.zy.company.entity;

import java.util.Date;

public class Work {
    private Integer id;
    private String name;
    private String image;
    private String value;
    private Date date;
    private Integer member;

    @Override
    public String toString() {
        return "Work{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", value='" + value + '\'' +
                ", date=" + date +
                ", member=" + member +
                '}';
    }

    public Work() {
    }

    public Work(String name, String image, String value, Date date, Integer member) {

        this.name = name;
        this.image = image;
        this.value = value;
        this.date = date;
        this.member = member;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getMember() {
        return member;
    }

    public void setMember(Integer member) {
        this.member = member;
    }
}
